report_array_size_error Subroutine

public subroutine report_array_size_error(err, fcn, varname, expsize, actsize)

Reports an array size error.

Arguments

Type IntentOptional Attributes Name
class(errors), intent(inout) :: err

The error handling object.

character(len=*), intent(in) :: fcn

The name of the function or subroutine in which the error occurred.

character(len=*), intent(in) :: varname

The offending variable name.

integer(kind=int32), intent(in) :: expsize

The expected size of the array.

integer(kind=int32), intent(in) :: actsize

The actual size of the array.


Variables

Type Visibility Attributes Name Initial
character(len=256), public :: msg